<template>
	<view class="promotion">

		<!-- 主图片区域 -->
		<view class="main-image-section">
			<image 
				class="main-image" 
				src="/static/promotion/img1.png" 
				mode="widthFix"
				placeholder="请添加主图片"
			></image>
		</view>

		<!-- 内容区域 -->
		<view class="content-section">
			<view class="content-title">
				<text>分销推广标题</text>
			</view>
			<view class="content-divider">
				<view class="divider-line"></view>
				<text class="divider-text">分销推广内容</text>
				<view class="divider-line"></view>
			</view>
			<view class="content-text">
				<text>这里是自定义的分销推广内容，您可以在这里添加详细的产品介绍、活动说明、推广策略等信息。内容可以根据实际需求进行调整和修改。</text>
			</view>
		</view>

		<!-- 底部按钮 -->
		<view class="bottom-button">
			<button class="cta-button">申请成为分销员</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.promotion {
	background-color: #fff;
	min-height: 100vh;
}

.nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background-color: #fff;
	border-bottom: 1px solid #f0f0f0;
	position: sticky;
	top: 0;
	z-index: 100;

	.nav-left {
		.nav-icon {
			font-size: 20px;
			color: #333;
			font-weight: bold;
		}
	}

	.nav-title {
		font-size: 16px;
		color: #333;
		font-weight: bold;
	}

	.nav-right {
		display: flex;
		gap: 12px;

		.nav-icon {
			font-size: 16px;
			color: #333;
		}
	}
}

.main-image-section {
	width: 100%;
	
	.main-image {
		width: 100%;
		height: 400px;
		background-color: #f8f8f8;
	}
}

.content-section {
	padding: 20px 16px;
}

.content-title {
	margin-bottom: 20px;

	text {
		font-size: 18px;
		color: #333;
		font-weight: bold;
	}
}

.content-divider {
	display: flex;
	align-items: center;
	margin-bottom: 20px;

	.divider-line {
		flex: 1;
		height: 1px;
		background-color: #e0e0e0;
	}

	.divider-text {
		margin: 0 16px;
		font-size: 14px;
		color: #999;
	}
}

.content-text {
	line-height: 1.6;

	text {
		font-size: 14px;
		color: #666;
		line-height: 1.8;
	}
}

.bottom-button {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 16px;
	background-color: #fff;
	border-top: 1px solid #f0f0f0;
	z-index: 99;

	.cta-button {
		width: 100%;
		background-color: #ff4757;
		color: #fff;
		border: none;
		border-radius: 8px;
		padding: 16px;
		font-size: 16px;
		font-weight: bold;
		line-height: 1.2;
	}
}
</style>
